package com.mdd.admin.vo.order;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

@Data
@ApiModel("换车记录列表Vo")
public class SwitchedCarRecordListedVo implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "编号")
    private Long id;

    @ApiModelProperty(value = "切换记录编码")
    private String carRecordNo;

    @ApiModelProperty(value = "原车辆编码")
    private String oldCarNo;

    @ApiModelProperty(value = "新车辆编码")
    private String newCarNo;

    @ApiModelProperty(value = "操作类型;操作类型:1、还车")
    private Integer operationType;

    @ApiModelProperty(value = "原车辆状态;原车辆状态：0正常1维修2报废")
    private String oldCarStatus;


    @ApiModelProperty(value = "是否删除;是否删除：0、正常1、删除")
    private String isDelete;

    @ApiModelProperty(value = "创建人")
    private String createBy;

    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    @ApiModelProperty(value = "更新人")
    private String updateBy;

    @ApiModelProperty(value = "更新时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;


}
